package com.yangchen.paper.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yangchen.paper.dao.UserMapper;
import com.yangchen.paper.model.User;
import com.yangchen.paper.service.IUserService;

@Service
@Transactional
public class UserService implements IUserService {
	@Autowired
	private UserMapper userMapper;

	@Override
	public boolean insertUser(User user) {
		return userMapper.insertUser(user);
	}
}
